第14步:还记得我们编写的名为add_click_event的函数吗?让我们在这里称呼它!
- 在 LOGIC 中,转到并在间隔事件中拖动Function Call 。
- 将my_function更改为add_click_event 。
- 然后,在( )中写入三个参数。您的函数调用应如下所示:
- add_click_event( sprite , · my_display , · my_dictionary )
To navigate the page using the TAB key, first press ESC to exit the code editor.